package com.bulletelc.apollopre.entity;

import java.io.Serializable;

/**
 * author: lhl
 * date  : 2018/01/25
 * desc  : 封装发票选择操作的实体类
 */

public class InvoiceSelectBean implements Serializable {

    private int groupPosition;
    private int childPosition;
    private boolean isChoose=true;//默认true
    private int id;//发票ID
    private String name;//发票名

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    private int type;

    public int getGroupPosition() {
        return groupPosition;
    }

    public void setGroupPosition(int groupPosition) {
        this.groupPosition = groupPosition;
    }

    public int getChildPosition() {
        return childPosition;
    }

    public void setChildPosition(int childPosition) {
        this.childPosition = childPosition;
    }

    public boolean isChoose() {
        return isChoose;
    }

    public void setChoose(boolean choose) {
        isChoose = choose;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }


    @Override
    public String toString() {
        return "InvoiceSelectBean{" +
                "groupPosition=" + groupPosition +
                ", childPosition=" + childPosition +
                ", isChoose=" + isChoose +
                ", id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
